package com.hebeu.gfh.service;

import com.hebeu.gfh.pojo.po.Activities;
import com.hebeu.gfh.pojo.po.ActivityApplication;
import com.hebeu.gfh.pojo.vo.pages;

import java.util.List;

/**
 * @Author: 刘剑利
 * @Version: v1.0
 */
public interface activitiesService {

    //查询所有活动

    public List<Activities> findAllActivities(pages page);

    List<Activities> findActivitiesByclubId(int clubId);

    Activities findActivitiesByactivityId(int activityId);

    List<Activities> findActivityByuserId(int userId);

    public int findActivityNum();

    public void initActivity(Activities activities);

    public int isparticipate(int activityId, int userId);

    public void addActivityRegistration(int acitivityId, int userId);

    public void deleteActivityRegistration(int acitivityId, int userId);

    public int findParticipant(int activityId);

    public List<Activities> findActivityByuserId1(pages pages);

    public int getActivityNum(int userId);

    public List<Activities> getActivityInfoByName(pages pages);

    public int getActivityNum1(int userId);

    public void deleteActivityById(int activityId);

}
